package com.example.demoes.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ErrorCode {
    SUCCESS("0", "操作成功!"),
    ERROR("1", "操作失败!"),
    UNAUTHORIZED("401", "认证异常!"),
    FORBIDDEN("403", "授权异常"),
    TENANT_NOT_FOUND("2", "租户不存在!");

    private final String code;
    private final String msg;
}
